﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _1_8 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
    {
        if (CheckBox1.Checked)
        {
            Label1.Style.Add(HtmlTextWriterStyle.FontWeight, "bolder");
        }
        else
        {
            Label1.Style.Add(HtmlTextWriterStyle.FontWeight, "normal");
        }

    }

    protected void CheckBox2_CheckedChanged(object sender, EventArgs e)
    {
        if (CheckBox2.Checked)
        {
            Label1.Style.Add(HtmlTextWriterStyle.Color, "red");
        }
        else
        {
            Label1.Style.Add(HtmlTextWriterStyle.Color, "black");
        }
  
    }

    protected void CheckBox3_CheckedChanged(object sender, EventArgs e)
    {
        if (CheckBox3.Checked)
        {
            Label1.Style.Add(HtmlTextWriterStyle.FontStyle, "oblique");
        }
        else
        {
            Label1.Style.Add(HtmlTextWriterStyle.FontStyle, "normal");
        }
    }
}